<?php

if (!defined('IN_Deep')) exit('Hacking attempt!');

$sql_uninstall = "

DROP TABLE  if exists " . tablename('rj_cms_config') . " ;
DROP TABLE  if exists " . tablename('rj_cms_nav') . " ;
DROP TABLE  if exists " . tablename('rj_cms_slider') . " ;
DROP TABLE  if exists " . tablename('rj_cms_page') . " ;
DROP TABLE  if exists " . tablename('rj_cms_article_sort') . " ;
DROP TABLE  if exists " . tablename('rj_cms_article') . " ;
DROP TABLE  if exists " . tablename('rj_cms_goods_sort') . " ;
DROP TABLE  if exists " . tablename('rj_cms_goods') . " ;
DROP TABLE  if exists " . tablename('rj_cms_friendlink') . " ;

DROP TABLE  if exists " . tablename('rj_cms_hit_log') . " ;

";

//$stmt = $GLOBALS['db']->prepare($sql_uninstall);
//$stmt->execute();
$GLOBALS['db']->query($sql_uninstall);